﻿package plugin.laobing
{
    import morn.core.handlers.*;
    import uiresource.laobing.*;

    public class LaobingUICtrl extends LaobingUI
    {
        private var _instance:Laobing;

        public function LaobingUICtrl(param1:Laobing)
        {
            this._instance = param1;
            closeBtn.clickHandler = new Handler(this._instance.close);
            return;
        }// end function

        override protected function createChildren() : void
        {
            loadUI("Laobing.xml");
            return;
        }// end function

        override protected function initializeView() : void
        {
            super.initializeView();
            anniuBtn.clickHandler = new Handler(this._instance.close);
            return;
        }// end function

    }
}
